/******************************************************************************
 *                                                                            *
 *                            Volatile Programming                            *
 *                                  Header.h                                  *
 *                                                                            *
 ******************************************************************************
 *                                                                            *
 * By: Volatile Pulse                                                         *
 * What: Header file to include common header files and functions             *
 * Date: 06.15.2012                                                           *
 *                                                                            *
 ******************************************************************************
 * Use:                                                                       *
 *    // Turns the blinking cursor off                                        *
 *    VP_SetConsoleCursor(false)                                              *
 *                                                                            *
 *    // Returns the cursor to the top left most corner                       *
 *    VP_GoToXY(0,0)                                                          *
 *                                                                            *
 *    // Clears the screen                                                    *
 *    VP_ClearScreen()                                                        *
 *                                                                            *
 *    // Returns the virtual keycode for the key that was pressed             *
 *    VP_GetCh()                                                              *
 *                                                                            *
 ******************************************************************************
 *                                                                            *
 * I want to greatly thank Duoas for his unknowing additions to these.        *
 *                                                                            *
 * VP_GetCh() Reference:                                                      *
 *    http://www.cplusplus.com/forum/articles/7312/#msg33734                  *
 *                                                                            *
 * VP_ClearScreen() Reference:                                                *
 *    http://www.cplusplus.com/articles/4z18T05o/                             *
 *                                                                            *
 * Thank you so much.                                                         *
 *                                                                            *
 ******************************************************************************/

#ifndef _VP_HEADER_H_
#define _VP_HEADER_H_

#ifdef _WIN32

#include <windows.h>

void VP_SetConsoleCursor(bool bCursor);
void VP_GoToXY(int x, int y);
void VP_ClearScreen();
int VP_GetCh();

#endif

#endif